package com.yyds.yygh.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yyds.yygh.model.user.UserInfo;
import com.yyds.yygh.vo.user.LoginVo;
import com.yyds.yygh.vo.user.UserAuthVo;
import com.yyds.yygh.vo.user.UserInfoQueryVo;

import java.util.Map;

public interface UserInfoService extends IService<UserInfo> {
    //登陆注册
    Map<String, Object> login(LoginVo loginVo);
    //实名认证
    void userAuth(Long userId, UserAuthVo userAuthVo);
    //管理页面添加列表
    IPage<UserInfo> selectPage(Page<UserInfo> pages, UserInfoQueryVo userInfoQueryVo);
    //锁定
    void lock(Long id,Integer status);
    //查询用户详情
    Map<String,Object> show(Long userId);

    void approval(Long id, Integer authStatus);
}
